import { createPinia } from 'pinia'
import persistedstate from 'pinia-plugin-persistedstate'
/*
  vue2持久化
     vuex-persistedstate
    下载
    store/index.js导入
    plugins:[
       persistedstate({
        paths:['模块名.字段名']
       })  
    ]

  vue3持久化
    pinia-plugin-persistedstate
    下载   yarn add pinia-plugin-persistedstate
    stores/index.ts导入
    createPinia().use(persistedstate)
    模块.ts内配制持久化
       defineStore('模块名',()=>{},{
          persist:{
             paths:['字段名']
          }
       })
*/

export default createPinia().use(persistedstate)
// import { useUserStore } from './user'
// export { useUserStore }
export * from './user'
export * from './xxx'
export * from './consult'
